package com.example.wan1.view.wechat;

import com.example.wan1.base.mvp.IBaseView;
import com.example.wan1.model.ArticleBean;
import com.example.wan1.model.KnowledgeBean;
import com.example.wan1.model.common.CommonResList;

import java.util.List;

/***
 * 创建时间：2020/7/11 10:45
 * 创建人：10850
 * 功能描述：
 */
public interface WeChatContract {

    interface View extends IBaseView {
        void onSuccess(CommonResList<ArticleBean> data);

        void onGetTitle(List<KnowledgeBean> titles);

        void onFailure(String msg);
    }

    interface Presenter {
        void getWechatTitleList();

        void getWechatDataList(int id, int page);

        void getWechatSearchList(int id, int page, String k);
    }
}
